package com.konke.sdslibrary.util;

/**
 * 本地资源文件和主机中数据的映射
 */
public final class LocalResMapping {
    public static InfraredUIType getInfraredUITypeByIconName(String iconName) {
        switch (iconName) {
            case "e_1":
            case "e_2":
                return InfraredUIType.TV;
            case "e_3":
                return InfraredUIType.MUSIC_PLAYER;
            case "e_4":
                return InfraredUIType.PROJECTOR;
            case "e_5":
            case "e_6":
                return InfraredUIType.AC;
            case "e_0":
            case "e_7":
            case "e_8":
                return InfraredUIType.UNIVERSAL_RC;
            default:
                return null;
        }
    }

}
